Hypothesis Testing
TODO: Finish this.
p-Value
The null means “The World is as it is.” No associations, no changes. If you want to make a falsifiable claim about The World (and thereby perturb it), a p-value is as easy as this:
What is the probability of seeing what I saw in my experiment if the null hypothesis is true?
78%? Well that sounds bad. You fail to reject the null. 5%? That’s small. Maybe something’s going on? 0.1%? Okay maybe something’s really going on. “Something” here means association, not causation.
You never accept the Alternative/Research Hypothesis ! Falsifiability FTW! You either reject or fail to reject the Null Hypothesis .
Do you ever set … ?
”Which Test?” TLDR (finish this!)
To pick a test, and generally speaking, you’ll be asking
- What is the nature of my Data1? Continuous? Categorical?
- How many groups am I dealing with? One, two, or more than two?
Here’s a nice little table from this excellent video (by a Columbia alum!)
| 1 Group | 2 Groups | 2+ Groups | |
|---|---|---|---|
| Categorical Data | Proportion Test (-test approx.) Test | Proportion Test (-test approx.) Test | Test |
| Continuous Data | -test & Variants -test & Variants | -test & Variants -test & Variants | ANOVA (-test, 1-way, 2-way) |
| Classic Assumptions Violated2 | Sign Test Signed Rank Test | Wilcoxon–Mann–Whitney Test Paired -test McNemar’s Test | Kruskal–Wallis Test |